import Vue from "vue"
import VueRouter from "vue-router"
import index from "../views/index.vue"
import detail from "../views/detail.vue"
Vue.use(VueRouter)
const router = new VueRouter({
	routes: [{
			path: "/",
			component: index,
			name: "index",
		},
		{
			path: "/detail",
			component: detail,
			name: "detail"
		}
	]
})
export default router
